package cn.stylefeng.guns.modular.business.frequency.modifyrecord.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 修改记录
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tt_modify_record")
public class ModifyRecord extends BaseEntity {

    /**
     * ID
     */
    @TableId("id")
    private Long id;

    /**
     * description
     */
    @TableField("description")
    private String description;

    /**
     * type
     */
    @TableField("type")
    private String type;

    /**
     * method
     */
    @TableField("method")
    private String method;

    /**
     * params
     */
    @TableField("params")
    private String params;

    /**
     * request_ip
     */
    @TableField("request_ip")
    private String requestIp;

    /**
     * username
     */
    @TableField("username")
    private String username;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;
}
